/*   1:    */ package com.tanke;
/*   2:    */ 
/*   3:    */ class Tanke
/*   4:    */ {
/*   5:155 */   int x = 0;
/*   6:156 */   int y = 0;
/*   7:157 */   int speed = 1;
/*   8:160 */   int color = 0;
/*   9:    */   
/*  10:    */   public int getColor()
/*  11:    */   {
/*  12:163 */     return this.color;
/*  13:    */   }
/*  14:    */   
/*  15:    */   public void setColor(int color)
/*  16:    */   {
/*  17:166 */     this.color = color;
/*  18:    */   }
/*  19:    */   
/*  20:    */   public void moveUp()
/*  21:    */   {
/*  22:171 */     this.y -= this.speed;
/*  23:    */   }
/*  24:    */   
/*  25:    */   public void moveDown()
/*  26:    */   {
/*  27:176 */     this.y += this.speed;
/*  28:    */   }
/*  29:    */   
/*  30:    */   public void moveLeft()
/*  31:    */   {
/*  32:181 */     this.x -= this.speed;
/*  33:    */   }
/*  34:    */   
/*  35:    */   public void moveRight()
/*  36:    */   {
/*  37:186 */     this.x += this.speed;
/*  38:    */   }
/*  39:    */   
/*  40:    */   public int getSpeed()
/*  41:    */   {
/*  42:190 */     return this.speed;
/*  43:    */   }
/*  44:    */   
/*  45:    */   public void setSpeed(int speed)
/*  46:    */   {
/*  47:193 */     this.speed = speed;
/*  48:    */   }
/*  49:    */   
/*  50:    */   public int getDirect()
/*  51:    */   {
/*  52:196 */     return this.direct;
/*  53:    */   }
/*  54:    */   
/*  55:    */   public void setDirect(int direct)
/*  56:    */   {
/*  57:199 */     this.direct = direct;
/*  58:    */   }
/*  59:    */   
/*  60:201 */   int direct = 0;
/*  61:203 */   boolean isLive = true;
/*  62:    */   
/*  63:    */   public int getX()
/*  64:    */   {
/*  65:206 */     return this.x;
/*  66:    */   }
/*  67:    */   
/*  68:    */   public void setX(int x)
/*  69:    */   {
/*  70:209 */     this.x = x;
/*  71:    */   }
/*  72:    */   
/*  73:    */   public int getY()
/*  74:    */   {
/*  75:212 */     return this.y;
/*  76:    */   }
/*  77:    */   
/*  78:    */   public void setY(int y)
/*  79:    */   {
/*  80:215 */     this.y = y;
/*  81:    */   }
/*  82:    */   
/*  83:    */   public Tanke(int x, int y)
/*  84:    */   {
/*  85:219 */     this.x = x;
/*  86:220 */     this.y = y;
/*  87:    */   }
/*  88:    */ }


/* Location:           C:\Users\Cheese\Desktop\坦克大战\坦克大战.jar
 * Qualified Name:     com.tanke.Tanke
 * JD-Core Version:    0.7.0.1
 */